package com.example.mybatis_book.mapper;

import com.example.mybatis_book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    @Select("SELECT * from user_info where user_name = #{username} and delete_flag = 0")
    UserInfo getUserInfoByName(String username);
}
